Logging Controller (LOGR) Commands

ALTER

Starts or stops logging of VAILOG trace messages.

Parameters

TRACE=ON | OFF

Turns on or off logging of trace messages sent by components.

COMPNT=ALL | component_ID

Specifies which components will have messages logged. This can be set to ALL (messages from all system components) or to a component ID (messages for that component only). Valid component IDs are:

C
Common or shared components (operator interface, for example)
D
DB2 or RRS component
L
Generic log component
S
Server controller component
T
Threadpool component

Examples

LOGR ALTER TRACE=ON COMPNT=ALL sets tracing on for all components.

LOGR ALTER TRACE=OFF COMPNT=T sets tracing off for the threadpool component.

LOGR ALTER TRACE=OFF COMPNT=ALL sets tracing off for all components.

PRINT

Prints a SequeLink Server system log.

Parameters

LOG=log_name

Prints the primary log, VAILOGP, or the secondary log, VAILOGS. The default is the inactive log.

CLASS=class_name

Indicates which SYSOUT class to which to spool the printout. The default is A.

HOLD=Y | N

Indicates whether the output is to be held on the output queue. Valid values are Y (Yes) or N (No). The default is N.

NOTE: All parameters are optional.

Example

LOGR PRINT CLASS=L spools the inactive log to the JES2 output class L; the output is not held in the output queue.

STATUS

Displays the status of the message logging component (LOGR).

Parameters

None

Example

LOGR STATUS returns a single line, providing the general status of the logging component.

SWITCH

Changes the active log. This command switches to the alternate log, making the current log available for printing or archiving.

Parameters

None

Example

LOGR SWITCH changes the active log. For example, if the primary log (VAILOGP) is active when this command is issued, the secondary log (VAILOGS) becomes the active log. Issuing the command again makes VAILOGP the active log again.